<?php
/**
 * Prado Portal.
 *
 * @author Steen Rabol <steen.rabol@gmail.com>
 * @link http://www.pradoportal.dk/
 * @copyright Copyright &copy; 2006,2007,2008 Steen Rabol
 * @license http://www.pradoportal.dk
 * @version $Id: ErrorReport.php 289 2008-11-14 05:34:40Z steen.rabol@gmail.com $
 *
 */

class ErrorReport extends PortalSystemPage
{
	public function onLoad($param)
	{
		parent::onLoad($param);
		$this->Title = $this->Application->Parameters['SiteTitle'] . " - " . Prado::localize("Error");
		$this->ErrorMessage->Text = $this->Application->SecurityManager->validateData(urldecode($this->Request['msg']));
		Prado::log($this->ErrorMessage->Text ,TLogger::ALERT);
	}
}
?>